<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" layout:decorator="layout/base">
<head>
	<title>定时发送短信</title>
	<script type="text/javascript" th:src="@{/assets/js/plugins/pickers/daterangepicker.js}"></script>
</head>

<body>
	<!-- Page header -->
	<div class="page-header" layout:fragment="page-header">
		<div class="page-header-content">
			<div class="page-title">
				<h4><i class="icon-arrow-left52 position-left"></i> <span class="text-semibold" th:text="#{web.name}">管理系统</span> - 定时发送短信</h4>
			</div>
		</div>
	</div>
	<!-- /page header -->


	<!-- Main content -->
	<div class="content-wrapper" layout:fragment="content">

		<!-- Table -->
		<div class="panel panel-flat min-panel">
			<div class="panel-heading">
				<h5 class="panel-title text-primary"><i class="icon-twitter"/>定时发送短信</h5>
        	</div>

        	<div class="panel-body">
        			<form id="saveSms" action="#" class="form-horizontal col-md-offset-4">
						<div class="row">
							<div class="form-group col-md-6">
								<label>发送日期</label>	
								<input type="text" id="sendTime" name="sendTime" class="form-control" placeholder="发送时间" />
							</div>
						</div>
						
						<div class="row">
							<div class="form-group col-md-6">
								<label>发送时间</label>	
								<select name="hour">
								  <option value ="1">1点</option>
								  <option value ="2">2点</option>
								  <option value="3">3点</option>
								  <option value="4">4点</option>
								  <option value="5">5点</option>
								  <option value="6">6点</option>
								  <option value="7">7点</option>
								  <option value="8">8点</option>
								  <option value="9">9点</option>
								  <option value="10">10点</option>
								  <option value="11">11点</option>
								  <option value="12">12点</option>
								  <option value="13">13点</option>
								  <option value="14">14点</option>
								  <option value="15">15点</option>
								  <option value="16">16点</option>
								  <option value="17">17点</option>
								  <option value="18">18点</option>
								  <option value="19">19点</option>
								  <option value="20">20点</option>
								  <option value="21">21点</option>
								  <option value="22">22点</option>
								  <option value="23">23点</option>
								  <option value="24">24点</option>
								</select>
							</div>
						</div>
						
						<div class="row">	    
						    <div class="form-group col-md-6">
								<label>短信内容</label>	
								<textarea name="content" rows="8" cols="10" placeholder="短信内容" class="form-control" maxlength="300"></textarea>
							</div>
							
							<input type="hidden" th:value="${customerId}" name="customerId"/>
						</div>
						<div class="row">		
							<div class="col-md-6 col-md-offset-2" >
								<div class="form-group">
									<button type="button" id="submit" class="btn btn-primary">保存<i class="icon-search position-right"></i></button>
								</div>
							</div>
						</div>
					</form>
			</div>
		</div>
		
		<!-- /table -->
		<script type="text/javascript" th:src="@{/oss/js/sendSms.js}"></script>
	</div>
	<!-- /main content -->

</body>
</html>
